
<div id="viewer_div">Viewer..</div>
<a href="javascript: <?php echo $this->oSContainer->getOSRequest()->getRequestFunctionName() ?>()"></a>
<div id="owner_div">Owner..</div>
<a href="javascript: <?php echo $this->oSContainer2->getOSRequest()->getRequestFunctionName() ?>()"></a>

<script type="text/javascript">
  function <?php echo $oSContainer->getResponseFunctionName() ?>(<?php echo $oSContainer->getResponseDataName() ?>) {
    var name = <?php echo $viewer->getName() ?>
    var thumb = <?php echo $viewer->getThumbnailURL() ?>
    var profile = <?php echo $viewer->getProfileURL() ?>
    var id = <?php echo $viewer->getId() ?>
    var isOwner = <?php echo $viewer->isOwner() ?>
    var isViewer = <?php echo $viewer->isViewer() ?>
        
    var html = '<img src="' + thumb + '"/>' + 
                   '<a href="' + profile + '" target="_top">' + name + ' id:' + id +' isOwner:' + isOwner +' isViewer:' + isViewer + ' </a>';

    document.getElementById('viewer_div').innerHTML = html;
    adjustHeight();
  }

  function <?php echo $oSContainer2->getResponseFunctionName() ?>(<?php echo $oSContainer2->getResponseDataName() ?>) {
    var name = <?php echo $owner->getName() ?>
    var thumb = <?php echo $owner->getThumbnailURL() ?>
    var profile = <?php echo $owner->getProfileURL() ?>
    var id = <?php echo $owner->getId() ?>
    var isOwner = <?php echo $owner->isOwner() ?>
    var isViewer = <?php echo $owner->isViewer() ?>
        
    var html = '<img src="' + thumb + '"/>' + 
                   '<a href="' + profile + '" target="_top">' + name + ' id:' + id +' isOwner:' + isOwner +' isViewer:' + isViewer + ' </a>';

    document.getElementById('owner_div').innerHTML = html;
    adjustHeight();
  }
</script>
